package entity;

public class User {
	private int uid;//
	private String uname;//
	private String pwd;//
	private String imgurl;//头像路径
	
	public User() {

	}
	public User(int uid2, String uname, String pwd, String imgurl) {
		super();
		this.uid = uid;
		this.uname = uname;
		this.pwd = pwd;
		this.imgurl = imgurl;
	}
	public User(String uname, String pwd) {
		this.uname = uname;
		this.pwd = pwd;
	}
	
	public User(int uid, String uname, String pwd) {
		super();
		this.uid = uid;
		this.uname = uname;
		this.pwd = pwd;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getImgurl() {
		return imgurl;
	}
	public void setImgurl(String imgurl) {
		this.imgurl = imgurl;
	}
	@Override
	public String toString() {
		return "User [uid=" + uid + ", uname=" + uname + ", pwd=" + pwd + ", imgurl=" + imgurl + "]";
	}

}
